package com.marvels.product.param.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.marvels.common.exception.MarvelsBusinessException;
import com.marvels.product.param.dao.McptPaymentSequenceItemMapper;
import com.marvels.product.param.dto.McptPaymentSequenceItemDTO;
import com.marvels.product.param.dto.McptProduct;
import com.marvels.product.param.service.McptPaymentSequenceItemService;
@Service
public class McptPaymentSequenceItemServiceImpl implements McptPaymentSequenceItemService {
	@Autowired
	private McptPaymentSequenceItemMapper mcptPaymentSequenceItemMapper;

	@Override
	public List<McptPaymentSequenceItemDTO> getPaymentSequenceItemBySequenceCode(McptProduct dto) throws MarvelsBusinessException{
		return mcptPaymentSequenceItemMapper.getListByCode(dto.getPaymentSeq());
	}
}
